package com.lrs.java.j2se_base.baseSyntax;

public class TestInnerClassAccess{
	private int s = 111;
	public class B {
		private int s = 222;
		public void mb(int s) {
			System.out.println(s); // 局部变量s
			System.out.println(this.s); // 内部类对象的属性s
			System.out.println(TestInnerClassAccess.this.s); //  外层类对象属性s
		}
	}
	public static void main(String args[]){
		TestInnerClassAccess a = new TestInnerClassAccess();
		TestInnerClassAccess.B b = a.new B();
		b.mb(333); 
	}
}
